﻿// Fill out your copyright notice in the Description page of Project Settings.

#include "HitBox.h"
#include "SphereBase.h"
#include "Engine.h"
#include "BSiteLearnGameModeBase.h"

void AHitBox::OnHitSphere(ASphereBase * sphere)
{
	ABSiteLearnGameModeBase* mode = Cast<ABSiteLearnGameModeBase>(GetWorld()->GetAuthGameMode());
	mode->ResetPlayerLocation();
}
